package com.zhike.common.dto;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel
public class UserPasswdDTO {

    @ApiModelProperty(value = "手机号", required = true)
    @NotNull(message = "缺少参数phone")
    private String phone;

    @ApiModelProperty(value = "验证码", required = true)
    @NotNull(message = "缺少参数phoneCode")
    private String phoneCode;

    @ApiModelProperty(value = "新密码", required = true)
    @NotNull(message = "缺少参数newPasswd")
    private String newPasswd;

}
